package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 费用名称表 base_cost
 * 
 * @author ruoyi
 * @date 2018-12-24
 */
public class Cost extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer costId;
	/** 名称 */
	private String name;
	/** 费用 */
	private BigDecimal amount;

	public void setCostId(Integer costId) 
	{
		this.costId = costId;
	}

	public Integer getCostId() 
	{
		return costId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setAmount(BigDecimal amount) 
	{
		this.amount = amount;
	}

	public BigDecimal getAmount() 
	{
		return amount;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("costId", getCostId())
            .append("name", getName())
            .append("amount", getAmount())
            .toString();
    }
}
